In mathematics, the product metric is a definition of metric on the Cartesian product of two metric spaces. As described below, the p product metric of the Cartesian product of n metric spaces is the p norm of the n-vector of the norms of the n subspaces:
Let and be metric spaces and let . Define the -product metric on by
for , .
For Euclidean spaces, using the L2 norm gives rise to the Euclidean metric in the product space; however, any other choice of p will lead to a topologically equivalent metric space. In the category of metric spaces, the sup norm is used.